/*-------------------------------------------------------------------------

***************** Modification History ***********************************
   @doc
   @module review.h - Header files for Review functions |
   @end

$Log: /SoftPay/SPK2SIM/Source/Include/review.h $
**************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/


#ifndef VSREVIEW_DEFINED

int inBatchReviewTipAdjust(TRANSACTION_OBJECT *pobTran);
int inModifyAdviceAuthCode(TRANSACTION_OBJECT *pobTran);
static int inBatchReview(TRANSACTION_OBJECT *pobTran);
static int inRetrieveBatch (TRANSACTION_OBJECT *pobTran);
static int inGetReviewOption(TRANSACTION_OBJECT *pobTran, BATCH_KEY * psrBatchKey, int inKeyPress);
static int inGetAdjustOption(TRANSACTION_OBJECT *pobTran, int inPreSelect);
static int inTipAdjust(TRANSACTION_OBJECT *pobTran);
int inTipReviewOperation (TRANSACTION_OBJECT *pobTran);
static int inTipBatch (TRANSACTION_OBJECT *pobTran);
static int inGetTipOption(TRANSACTION_OBJECT *pobTran, BATCH_KEY * psrBatchKey, int inKeyPress);
static void vdVoidAdjustError(TRANSACTION_OBJECT *pobTran, int inResult, VS_BOOL fIsItAdjust);
int inConfirmInvAmt (TRANSACTION_OBJECT *pobTran);
int inUserChoice (TRANSACTION_OBJECT *pobTran);
int inVoidChoice (TRANSACTION_OBJECT *pobTran);
int inRetrieveInvOrAcct (TRANSACTION_OBJECT *pobTran);
int inSameCardConfirm (TRANSACTION_OBJECT *pobTran);
int inValidateAdjust (TRANSACTION_OBJECT *pobTran);
int inValidateTipAdjust (TRANSACTION_OBJECT *pobTran);
int inValidateVoid (TRANSACTION_OBJECT *pobTran);
int inSummaryReviewOperation (TRANSACTION_OBJECT *pobTran);
static int inDisplayReviewRec (TRANSACTION_OBJECT *pobTran, char *pszChoices, int inNumChoices);
int	inDefaultDisplayReviewRec (TRANSACTION_OBJECT *pobTran, char *pszChoices, int inNumChoices);
int REVIEW_CODE_CHECK(char * a,char *b,short *  c,char * d,unsigned char * e);
int inResetVoidTranCode(TRANSACTION_OBJECT *pobTran);

void vdOverLoadValidateVoidsAndAdjusts( long (*)());
void vdOverLoadRetrieveBatchInvOrAcct ( int  (*)());
extern long (*lnValidateVoidsAndAdjusts)(TRANSACTION_OBJECT *);
long lnDefaultValidateVoidsAndAdjusts(TRANSACTION_OBJECT *pobTran);

#define VSREVIEW_DEFINED
#endif		/* VSREVIEW_DEFINED */

